#ifndef plan_h
#define plan_h

#include <time.h>

#include "user.h"
#include "Utility.h"

class CPlan{
private:
	tm * m_Today;
	tm * m_LastDay;
	time_t m_Time;
	int m_BackTimes;
	bool m_Begin;
public:
	CPlan();
	~CPlan();
	void initialize();
	void run();

	bool getState();
	void setState(bool n_Begin);
};
#endif
